# yum -y install cloud-utils-growpart
# lsblk
sda 8:0 0 1.5T 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 1.5T 0 part
├─fedora-root 253:0 0 30G 0 lvm /
└─fedora-swap 253:1 0 4G 0 lvm [SWAP]
# growpart /dev/sda 2
# pvresize /dev/sda2
# lvextend -l +100%FREE /dev/fedora/root
or # lvextend /dev/fedora/root -L +90G
or # lvresize -l +100%FREE /dev/fedora/root
# resize2fs /dev/fedora/root
or # xfs_growfs /dev/fedora/root
# lsblk
sda 8:0 0 1.5T 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 1.5T 0 part
├─fedora-root 253:0 0 1.5T 0 lvm /
└─fedora-swap 253:1 0 4G 0 lvm [SWAP]
------------------------------------
# lvextend /dev/fedora/root -L +85G
# resize2fs /dev/fedora/root
resize2fs: Bad magic number in super-block while trying to open /dev/fedora_500153538341/root
Couldn't find valid filesystem superblock.
# blkid /dev/fedora/root
/dev/fedora/root: UUID="8747b19e-xxxx-xxxx-xxxxx-xxxxxxxxxx" TYPE="xfs"
# xfs_growfs /dev/fedora/root
xfs_growfs: /dev/fedora/root is not a mounted XFS filesystem
# xfs_growfs /
meta-data=/dev/mapper/fedora-root isize=512 agcount=16, agsize=245760 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1
data = bsize=4096 blocks=3932160, imaxpct=25
= sunit=64 swidth=64 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=5184, version=2
= sectsz=512 sunit=64 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
data blocks changed from 3932160 to 26214400